package com.shrct.businessprocess.organization;

import com.shrct.businessprocess.organization.proxy.RCCustomerHasCreditAdaptorProxy;
import com.shrct.businessprocess.project.IHasCreditStat;
import com.shrct.businessprocess.project.RCTotalProjectCreditStat;

import edu.fudan.mylang.pf.EntityAdaptor;

public class RCCustomerHasCreditAdaptor extends EntityAdaptor<RCEmployee>
		implements IHasCreditStat {

	public RCCustomerHasCreditAdaptor(){
	}
	
	public RCCustomerHasCreditAdaptor(RCEmployee adaptee) {
		this.adaptee = adaptee;
	}

	@Override
	public RCTotalProjectCreditStat getTotalProjectCreditStat() {
		return new RCTotalProjectCreditStat();
	}

	@Override
	public RCCustomerHasCreditAdaptorProxy toProxy() {
		return new RCCustomerHasCreditAdaptorProxy(adaptee.toProxy());
	}

}
